package Aula15;

class No{
    public No left;
    public No right;
    public No parent;
    public long key;
    public boolean foiVisitado;

    public No(long key){
    	this.key = key;
    	foiVisitado = false;
    }
    
    public boolean hasLeft(){
		return this.left != null;
	}
	
	public boolean hasRight(){
		return this.right != null;
	}
}